package com.kl.modular.common.controller;


import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.Controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * 默认Controller
 *
 * @author sunray_zjb
 * @date 2017/12/12 09:52
 *
 */
public class DefaultController implements Controller {

    @Override
    public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response) throws Exception {
        return new ModelAndView("error/404.jsp");
    }
}
